<page-header-wrapper [title]="'新增企业'"></page-header-wrapper>
<nz-card>
  <sf #sf1 [ui]="ui" [schema]="schema1" [button]="'none'">
    <ng-template sf-template="title1" let-me let-ui="ui" let-schema="schema">
      <div class="form-title">企业基本信息</div>
    </ng-template>
    <ng-template sf-template="tips" let-me let-ui="ui" let-schema="schema">
      <div class="pr">
        请上传营业执照原件的高清照片，若上传复印件，则需加盖公司印章；
        <div>上传后系统会自动识别并填写</div>
      </div>
    </ng-template>
    <ng-template sf-template="unit" let-me let-ui="ui" let-schema="schema">
      <div class="pr">万元</div>
    </ng-template>

    <ng-template sf-template="legalPersonIdentityDTO/title2" let-me let-ui="ui" let-schema="schema">
      <div class="form-title" style="margin-top: 40px;margin-left: -180px;">营业执照法人信息</div>
    </ng-template>
    <ng-template sf-template="legalPersonIdentityDTO/tipsC" let-me let-ui="ui" let-schema="schema">
      <div class="pr">
        <div>请上传身份证原件的高清照片，若上传复印件，则需申请人签字；</div>
        <div>上传后系统会自动识别并填写</div>
      </div>
    </ng-template>
    <ng-template sf-template="legalPersonIdentityDTO/tipsA" let-me let-ui="ui" let-schema="schema">
      <div class="pr">
        <dl class="tips">
          <dt>正面照（人像面）</dt>
          <dd>示例</dd>
        </dl>
        <div class="pa"><img width="190" src="./assets/images/usercenter/certificate-demo-front.png" /></div>
      </div>
    </ng-template>
    <ng-template sf-template="legalPersonIdentityDTO/tipsB" let-me let-ui="ui" let-schema="schema">
      <div class="pr">
        <dl class="tips">
          <dt>背面照（国徽面）</dt>
          <dd>示例</dd>
        </dl>
        <div class="pa"><img width="190" src="./assets/images/usercenter/certificate-demo-back.png" /></div>
      </div>
    </ng-template>
  </sf>

  <sf #sf [ui]="ui" [schema]="schema" [button]="'none'">
    <ng-template sf-template="title1" let-me let-ui="ui" let-schema="schema">
      <div class="form-title">企业开票信息</div>
    </ng-template>
    <ng-template sf-template="title99" let-me let-ui="ui" let-schema="schema">
      <div class="form-title">企业管理员信息</div>
    </ng-template>

    <ng-template sf-template="tipsD" let-me let-ui="ui" let-schema="schema">
      <div class="pr" style="z-index: 999;">
        <div>请上传该企业授权您成为本系统企业管理员的文件的高清照片，需加盖公司印章</div>
        <div>上传后系统会自动识别并填写</div>
        <div></div>
        <div class="pa"><img height="112px" style="margin-top: 12px;z-index: 9999;"
            (click)="service.showImg('./assets/images/usercenter/agree.png')"
            src="./assets/images/usercenter/agree.png" /></div>
      </div>
    </ng-template>
    <ng-template sf-template="tips" let-me let-ui="ui" let-schema="schema">
      <div class="pr">
        <div>请上传身份证原件的高清照片，若上传复印件，则需申请人签字；</div>
        <div>上传后系统会自动识别并填写</div>
      </div>
    </ng-template>
    <ng-template sf-template="tipsA" let-me let-ui="ui" let-schema="schema">
      <div class="pr">
        <dl class="tips">
          <dt>正面照（人像面）</dt>
          <dd>示例</dd>
        </dl>
        <div class="pa"><img width="190" src="./assets/images/usercenter/certificate-demo-front.png" /></div>
      </div>
    </ng-template>
    <ng-template sf-template="tipsB" let-me let-ui="ui" let-schema="schema">
      <div class="pr">
        <dl class="tips">
          <dt>背面照（国徽面）</dt>
          <dd>示例</dd>
        </dl>
        <div class="pa"><img width="190" src="./assets/images/usercenter/certificate-demo-back.png" /></div>
      </div>
    </ng-template>
  </sf>

  <div style="padding-left: 379px">
    <button nz-button type="button" nzType="primary" (click)="submitForm()"
      [nzLoading]="service.http.loading">确认新增</button>
    <button nz-button (click)="goBack()">返回</button>
  </div>
</nz-card>